<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>
<script>
    $.get("http://localhost:8100/api/user/getUserById?id=1",function (res) {
        console.log(res)
    })
</script>
</body>
</html>